import { _decorator, Label, Node } from 'cc';
import { DataItemComponent } from '../../../Core/DataItemLayout';
const { ccclass, property } = _decorator;

/**
 * 248139929
 * Thu Jun 27 2024 19:31:27 GMT+0800 (中国标准时间)
 */

@ccclass('TalentItem')
export class TalentItem extends DataItemComponent< {name:string, hasBig:number}> {
    
    // @property(Label)
    // nameLabel:Label

    // @property(Node)
    // bigNode:Node

    /**设置数据 */
    setData(data: {name:string, hasBig:number}) {
        // this.nameLabel.string = data.name
        // this.bigNode.active = data.hasBig > 50
    }

}
